﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GALibrary.Entity
{
    public class TaskSchedulerGA
    {
        public TaskSchedulerGA() { }
        public TaskSchedulerGA(int taskid, int startingTime, int duration, int priority, string filename) {
            this.TaskId = taskid;
            this.StartingTime = startingTime;
            this.Duration = duration;
            this.Priority = priority;
            this.Filename = filename;
            this.TurnaroundTime = 0;
            this.WaitingTime = 0;
            this.ExecutedDuration = 0;
        }
        public int TaskId { get; set; }
        public int StartingTime { get; set; }
        public int Duration { get; set; }
        public int Priority { get; set; }
        public string Filename { get; set; }

        public int TurnaroundTime { get; set; }

        public int WaitingTime { get; set; }
        public int ExecutedDuration { get; set; }
    }
}
